Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](cloud)Compatibility with the initial default compute group usage #42504

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deardeng
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@deardeng
Copy link
Contributor Author

run buildall

if (!Env.getCurrentEnv().getAuth().checkCloudPriv(UserIdentity.fromString(qualifiedUser),
value, PrivPredicate.USAGE, ResourceTypeEnum.CLUSTER)) {
throw new ComputeGroupException(String.format("set default compute group failed, "
+ "user {} must first have auth to use this compute group ", value),
Copy link
Contributor

@gavinchou gavinchou Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"user {} must first have auth to use this compute group "
-> "user {} has no permission to use compute group {}, please grant use privilege first with grant USE_PRIV to ${user}

(fulfill the last part of msg )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants